package com.orange.api.filter;

import server.rest.HttpContext;
import server.rest.filter.AbstractRSFFilter;
import server.rest.filter.PostFilter;

public class CrossDomainAccessFilter extends AbstractRSFFilter implements PostFilter
{

    public String getName()
    {
        return "CrossDomainAccess";
    }

    public void doPostFilter(HttpContext context, Object... objects)
    {
        context.setHeader("Access-Control-Allow-Origin", "*");
    }

}
